package net.jielan188.hd.mapper.user;

import net.jielan188.hd.bean.user.User;
import org.springframework.stereotype.Repository;

import java.util.Set;


/**
 * 用户
 * Created by hgg on 2017-01-24.
 */
@Repository
public interface UserMapper {

    /**
     * 根据用户名得到用户权限
     * @param userName
     * @return
     */
    public Set<String> getPermissionByUserName(String userName );

    /**
     * 根据用户名称 得到用户信息
     * @param userName
     * @return
     */
    public User getUserByUserName(String userName );
}
